package com.tequila.domain.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单行
 *
 */
public class OrderItem {
     /**
      * 
      */
     private Long id;
     /**
      * 
      */
     private Date createTime;
     /**
      * 
      */
     private Date updateTime;
     /**
      * 订单号
      */
     private String orderNum;
     /**
      * 卡券id
      */
     private Long cardCouponId;
     /**
      * 业务类型
      */
     private String type;
     /**
      * 业务id
      */
     private Long objectId;
     /**
      * 名称
      */
     private String objectName;
     /**
      * 数量
      */
     private Integer num;
     /**
      * 金额
      */
     private BigDecimal amount;

     public void setId(Long id) {
         this.id = id;
     }

     public Long getId() {
         return id;
     }
     public void setCreateTime(Date createTime) {
         this.createTime = createTime;
     }

     public Date getCreateTime() {
         return createTime;
     }
     public void setUpdateTime(Date updateTime) {
         this.updateTime = updateTime;
     }

     public Date getUpdateTime() {
         return updateTime;
     }
     public void setOrderNum(String orderNum) {
         this.orderNum = orderNum;
     }

     public String getOrderNum() {
         return orderNum;
     }
     public void setCardCouponId(Long cardCouponId) {
         this.cardCouponId = cardCouponId;
     }

     public Long getCardCouponId() {
         return cardCouponId;
     }
     public void setType(String type) {
         this.type = type;
     }

     public String getType() {
         return type;
     }
     public void setObjectId(Long objectId) {
         this.objectId = objectId;
     }

     public Long getObjectId() {
         return objectId;
     }
     public void setObjectName(String objectName) {
         this.objectName = objectName;
     }

     public String getObjectName() {
         return objectName;
     }
     public void setNum(Integer num) {
         this.num = num;
     }

     public Integer getNum() {
         return num;
     }
     public void setAmount(BigDecimal amount) {
         this.amount = amount;
     }

     public BigDecimal getAmount() {
         return amount;
     }

}